package com.hebg3.weixin.web.common;

import java.util.ResourceBundle;

public class ConfigUtils {
	
	/** appConfig ResourceBundle 应用配置资源束 */
	private static final ResourceBundle appConfig = ResourceBundle
			.getBundle("app");
	
	/**
	 * 从app.properties中读取配置信息
	 * 
	 * @param key
	 * @return
	 */
	public static String getAppConfig(String key) {
	
		return appConfig.getString(key);
	}

}
